.post-detail-container {
  width: 100%;
  height: fit-content;

  .user-info-container {
    width: 100%;
    height: fit-content;
    display: flex;
    flex-direction: row;
    padding: 40rpx 40rpx 30rpx 40rpx;


    .avatar-container {
      width: 90rpx;
      height: 90rpx;
      flex-shrink: 0;
      overflow: hidden;
      border-radius: 150rpx;
      background-color: #f1f1f1;

      image {
        width: 90rpx;
        height: 90rpx;
      }
    }

    .user-container {
      width: 100%;
      height: 90rpx;
      padding: 0 30rpx;

      .username {
        font-size: 26rpx;
        color: #333;
        font-weight: bold;
        line-height: 46rpx;
      }

      .post-time {
        font-size: 22rpx;
        color: #aaa;
        line-height: 44rpx;
      }
    }
  }

  .post-text-container {
    padding: 0 10rpx;
  }

  .image-container {

  }

  .tags-container {
    width: 100%;
    height: fit-content;
    padding: 20rpx 40rpx;

    .position-tag {
      width: fit-content;
      height: 50rpx;
      padding: 0 30rpx;
      flex-shrink: 0;
      background-color: #f1f1f1;
      color: #333;
      font-size: 26rpx;
      text-align: center;
      line-height: 50rpx;
      border-radius: 50rpx;
    }
  }

  .comments-container {
    width: 100%;
    height: fit-content;
    min-height: 300rpx;
    margin-top: 30rpx;
    padding: 0 40rpx;

    .divider {
      width: 100%;
      height: 1rpx;
      margin-bottom: 40rpx;
      //border-top: solid 1rpx #f1f1f1;
    }

    .title {
      magrin-bottom: 40rpx;
      font-size: 36rpx;
      font-weight: bold;
      color: #333;
    }

    .comments {
      .comment-item {
        margin-bottom: 20rpx;

        .user-info-container {
          padding: 40rpx 0 20rpx 0;

          .avatar-container {
            width: 70rpx;
            height: 70rpx;

            image {
              width: 70rpx;
              height: 70rpx;
            }
          }

          .user-container {
            height: 70rpx;
            padding: 0 20rpx;

            .username {
              font-size: 24rpx;
              line-height: 36rpx;
            }

            .post-time {
              font-size: 20rpx;
              line-height: 34rpx;
            }
          }

          .like-btn {
            width: fit-content;
            height: 70rpx;
            margin: 0 10rpx 0 auto;

            text {
              font-size: 32rpx;
              line-height: 70rpx;
            }
          }
        }

        ::v-deep .u-field {
          padding: 0;
        }

        .comment-content {
          padding: 0 90rpx;

          text {
            font-size: 26rpx;
          }
        }

        &:last-child {
          margin-bottom: 200rpx;
          margin-bottom: calc(constant(safe-area-inset-bottom) + 200rpx);
          margin-bottom: calc(env(safe-area-inset-bottom) + 200rpx);
        }
      }
    }

    .no-comment {
      width: 100%;
      height: fit-content;
      margin-bottom: 200rpx;
      margin-bottom: calc(constant(safe-area-inset-bottom) + 200rpx);
      margin-bottom: calc(env(safe-area-inset-bottom) + 200rpx);

      view {
        width: 100%;
        height: 100%;
        font-size: 28rpx;
        color: #888;
        text-align: center;
        line-height: 200rpx;
      }
    }
  }
}

.input-area {
  width: 100%;
  height: fit-content;
  min-height: 120rpx;
  z-index: 999;
  padding-bottom: 0;
  padding-bottom: constant(safe-area-inset-bottom);
  padding-bottom: env(safe-area-inset-bottom);
  position: fixed;
  left: 0;
  bottom: 0;
  background-color: #fff;

  .more-btn-container {
    width: fit-content;
    height: 100%;
    display: inline;
    padding: 20rpx 0 20rpx 40rpx;
    float: left;
    font-size: 36rpx;
    line-height: 80rpx;
    color: #666666;
    transition-duration: 200ms;

    .fa:nth-child(1) {
      letter-spacing: 40rpx;
    }
  }

  .input-container {
    width: fit-content;
    height: fit-content;
    min-height: 80rpx;
    margin: 20rpx 20rpx 0 0;
    padding-bottom: 0;
    padding-bottom: constant(safe-area-inset-bottom);
    padding-bottom: env(safe-area-inset-bottom);
    display: inline;
    position: fixed;
    right: 0;
    bottom: 20rpx;
    float: right;
    transition-duration: 200ms;

    .input-inner-container {
      width: calc(100vw - 220rpx - 80rpx);
      height: 80rpx;
      float: left;
      padding: 20rpx 40rpx;
      border-radius: 50rpx;
      background-color: $uni-color-grey;
      transition-duration: 200ms;
      transition-property: width, transform;
      overflow: hidden;

      .raw-input {
        font-size: 32rpx;
        height: 40rpx;
      }

      .show-input {
        font-size: 32rpx;
        height: 40rpx;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
      }
    }

    .send-btn-container {
      width: 70rpx;
      height: 70rpx;
      margin-top: 4rpx;
      margin-left: 20rpx;
      display: inline;
      float: right;
      opacity: 1;
      font-size: 40rpx;
      line-height: 70rpx;
      text-align: center;
      color: #fff;
      background-color: #f4756b;
      border-radius: 50%;
      transition-property: opacity;
      transition-duration: 200ms;
    }
  }
}

.upload {
  position: fixed;
  width: 0;
  height: 0;
  opacity: 0;
  overflow: hidden;
  z-index: -999;
  pointer-events: none;
}